<template>
    <div class="head">
        <div @click = " $router.push('/search')">
            <van-icon  name="search" />
        </div>
        <div class="img">
            <img src="../../../assets/img/logo.png" alt="">
        </div>

    </div>
</template>

<script>
export default {

}
</script>

<style lang="scss" scoped>
.head{
  padding: 0;
  background-color: white;
  height: 1.7rem;
  display: flex;
  align-items: center;
  position: fixed;
  width: 100%;
  left:0;
  top:0;
  z-index: 999;
  .van-icon{
    transform: translateX(10px);
    font-size: .9rem;
  }
  .img{
    flex:1;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items:center;
    img{
      width: 2.6rem;
    }
  }
}
</style>
